﻿<%@ Register TagPrefix="ddsc" Namespace="ddscControlLibrary" Assembly="ddscControlLibrary" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CTMD0060.aspx.cs" Inherits="smasb2b.CTMD0060" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title>海關保稅品異動查詢</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!-- 網頁樣式區 -->
    <link href="../css/grid.css" type="text/css" rel="stylesheet">
    <link href="../css/global.css" type="text/css" rel="stylesheet">
    <!-- 嵌入外部檔案區 -->
    <script language="JavaScript" src="./js/CTMD0060.js">
    </script>
</head>
<body>
    <form id="CTMD0060" method="post" runat="server">
        <!--　　
				主要資料顯示區
			    <外圍的Table，由class=OUTSIDETABLE　來設定外框的寬度 設定cellPadding="0"> 
			-->
        <table class="OUTSIDETABLE" id="TableTemplate" cellspacing="0" cellpadding="0" border="0">
            <tr>
                <td class="TitleBar">
                    <!-- 程式名稱設定區 ID="lbl" + 程式檔案名稱 -->
                    <asp:Label ID="lblCTMD0060" runat="server">海關保稅品異動查詢</asp:Label>-CTMD0060</td>
            </tr>
            <tr>
                <td>
                    <!--    
							篩選條件區
							<查詢的Table，由class=QUERYTABLE　來設定整個TABLE的寬度、邊線> 
						-->
                    <table class="QUERYTABLE" id="Table1" cellspacing="0" cellpadding="2" border="1">
                        <tr>
                            <td class="TDLable">
                                <asp:Label ID="lblSHEET_NO" runat="server" Width="80px">進出倉序號</asp:Label></td>
                            <td>
                                <ddsc:InputBoxCtrl ID="txtSHEET_NO1" runat="server" Width="120px" MaxLength="14"></ddsc:InputBoxCtrl>～
									<ddsc:InputBoxCtrl ID="txtSHEET_NO2" runat="server" Width="112px" MaxLength="14"></ddsc:InputBoxCtrl></td>
                            <td class="TDLable">
                                <asp:Label ID="lblCTM_APPLY_NO1" runat="server" Width="104px">報關號碼</asp:Label></td>
                            <td>
                                <ddsc:InputBoxCtrl ID="txtCTM_APPLY_NO1" runat="server" Width="128px" MaxLength="20"></ddsc:InputBoxCtrl>～<ddsc:InputBoxCtrl ID="txtCTM_APPLY_NO2" runat="server" Width="128px" MaxLength="20"></ddsc:InputBoxCtrl></td>
                        </tr>
                        <tr>
                            <td class="TDLable">
                                <asp:Label ID="lblIN_OUT_DATE1" runat="server" Width="80px">進出倉日期</asp:Label></td>
                            <td>
                                <table>
                                    <tr>
                                        <td>
                                            <ddsc:DateCtrl ID="txtIN_OUT_DATE1" runat="server" AllowEmpty="True"></ddsc:DateCtrl>
                                        </td>
                                        <td>～</td>
                                        <td>
                                            <ddsc:DateCtrl ID="txtIN_OUT_DATE2" runat="server" AllowEmpty="True"></ddsc:DateCtrl>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td class="TDLable">
                                <asp:Label ID="lblCODE_1" runat="server" Width="96px">料號</asp:Label></td>
                            <td valign="middle">
                                <ddsc:InputBoxCtrl ID="txtCODE_1" runat="server" Width="72px" MaxLength="14"></ddsc:InputBoxCtrl>～
									<ddsc:InputBoxCtrl ID="txtCODE_2" runat="server" Width="72px" MaxLength="14"></ddsc:InputBoxCtrl></td>
                        </tr>
                        <tr>
                            <td class="TDLable">
                                <asp:Label ID="lblCUSTOMS_TYPE" runat="server">報單類別</asp:Label></td>
                            <td colspan="3">
                                <asp:DropDownList ID="drpCUSTOMS_TYPE" runat="server">
                                    <asp:ListItem Selected="True"></asp:ListItem>
                                    <asp:ListItem Value="D1">D1</asp:ListItem>
                                    <asp:ListItem Value="D2">D2</asp:ListItem>
                                    <asp:ListItem Value="D5">D5</asp:ListItem>
                                    <asp:ListItem Value="D7">D7</asp:ListItem>
                                    <asp:ListItem Value="D8">D8</asp:ListItem>
                                </asp:DropDownList></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <!-- 主要功能區 -->
                <td class="func" style="HEIGHT: 10px">
                    <ddsc:ClientButtonCtrl ID="btnSEARCH" runat="server" ScriptOnclick="btnSEARCH_OnClick()" Value="搜尋"></ddsc:ClientButtonCtrl>
                    <ddsc:ClientButtonCtrl ID="btnFIND" runat="server" ScriptOnclick="btnFIND_OnClick()" Value="查詢"></ddsc:ClientButtonCtrl>
                </td>
            </tr>
            <tr>
                <!--
						明細資料設定區
						<lang 屬性：method_name(查詢明細),PrimaryKey1於此table 之column index,PrimaryKey2之index,餘此類推>
						<Nodown 屬性：有設定表示不提供展開明細功能，預設值不設定>
					-->
                <td id="searchKey" nodown detailset="Query_Detail, 1,5"><font face="新細明體"></font></td>
            </tr>
            <!-- 資料呈現區更新範圍 START -->
            <!--
						資料標題區
				-->
            <tr>
                <td style="HEIGHT: 22px">
                    <table class="gridData" id="gridBar" cellspacing="0" cellpadding="0" width="100%" runat="server">
                        <tr bgcolor="#ffffff">
                            <td class="header" style="WIDTH: 3%" align="left">
                                <input id="chkALL" disabled onclick="gridSelectAll()" type="checkbox"></td>
                            <td class="header" style="WIDTH: 20%" onmouseover="gridBar_MouseOver();" onclick="gridBar_MouseOnClick();"
                                onmouseout="gridBar_MouseOut();" align="left"></td>
                            <td class="header" style="WIDTH: 15%" onmouseover="gridBar_MouseOver();" onclick="gridBar_MouseOnClick();"
                                onmouseout="gridBar_MouseOut();" align="left"></td>
                            <td class="header" style="WIDTH: 20%" onmouseover="gridBar_MouseOver();" onclick="gridBar_MouseOnClick();"
                                onmouseout="gridBar_MouseOut();" align="left"></td>
                            <td class="header" style="WIDTH: 20%" align="left"></td>
                            <td class="header" style="WIDTH: 10%" align="left"></td>
                            <td class="header" style="WIDTH: 10%" align="left"></td>
                            <td class="SplitBar" style="WIDTH: 2%">
                                <img src="../images/grid_Refresh.gif"></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <!--
						 資料呈現區
						 <td id="displayzoon" 影響載入圖的位置>
						 <style="HEIGHT: 440px;width:850px"可依呈現資料多寡設定 >
				-->
            <tr>
                <td id="displayzoon" style="HEIGHT: 250px" valign="top">
                    <iframe id="DataGrid" src="../DataList.aspx" frameborder="yes" width="100%" scrolling="yes"
                        height="100%"></iframe>
                </td>
            </tr>
            <!--
					    資料上下頁區
					 -->
            <tr>
                <td>
                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                        <tr>
                            <td class="gridBar" align="right">
                                <p lang="0" id="row_count" align="left"></p>
                                <p align="right">
                                    <input class="BtnFirst" lang="0" id="BtnFirst" onclick="BtnFirst_OnClick();" type="button"
                                        value="第一頁" name="BtnFirst" runat="server">
                                    <input class="BtnPrev" lang="0" id="BtnPrev" onclick="BtnPrev_OnClick();" type="button"
                                        value="前一頁" name="BtnPrev" runat="server">
                                    <input class="BtnNext" lang="0" id="BtnNext" onclick="BtnNext_OnClick();" type="button"
                                        value="下一頁" name="BtnNext" runat="server">
                                    <input class="BtnLast" lang="0" id="BtnLast" onclick="BtnLast_OnClick()" type="button"
                                        value="最後一頁" name="BtnLast" runat="server">
                                    &nbsp;&nbsp;第<input class="page" lang="0" id="PageIndex" type="text" maxlength="3" size="2">&nbsp;&nbsp;頁
										<input class="BtnLast" lang="0" id="BtnGoto" onclick="BtnGoto_OnClick()" type="button"
                                            value="Go" name="BtnGoto" runat="server">
                                </p>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <!-- 資料呈現區更新範圍 END -->
        </table>
        <table id="Table2" style="WIDTH: 100%; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; HEIGHT: 20%; BORDER-BOTTOM-STYLE: none"
            bgcolor="#d1dfbd" border="0">
            <tr>
                <td valign="top">
                    <iframe class="grid" id="ErrMsg" style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; WIDTH: 100%; BORDER-BOTTOM: 1px solid; HEIGHT: 100%"
                        src="../ErrHandler.aspx" frameborder="0" scrolling="auto"></iframe>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>

